package org.xpandaframework.base.exception;

/**
 * <p>
 * CopyRright (c)2008-2014: Camelot
 * <p>
 * Project: xpandaframework Maven Webapp
 * <p>
 * Module ID: <模块类编号可以引用系统设计中的类编号>
 * <p>
 * Comments: 基础类DAO异常
 * <p>
 * JDK version used: JDK1.7
 * <p>
 * NameSpace: org.xpandaframework.base.exception.BaseDaoException.java
 * <p>
 * Author: Angus
 * <p>
 * Create Date: 2014-11-24
 * <p>
 * Modified By: <修改人中文名或拼音缩写>
 * <p>
 * Modified Date: <修改日期>
 * <p>
 * Why & What is modified: <修改原因描述>
 * <p>
 * Version: v1.0
 */
public class XpandaFrameworkException extends Exception {

  private static final long serialVersionUID = 1865886428348263280L;
  private String exceptionCode = "9999";

  public XpandaFrameworkException() {
    super();
  }

  public XpandaFrameworkException(String code) {
    super();
    if (code != null) {
      this.exceptionCode = code;
    }
  }

  public String getExceptionCode() {
    return this.exceptionCode;
  }

  public void setExceptionCode(String exceptionCode) {
    this.exceptionCode = exceptionCode;
  }
}
